﻿using System;
using System.Collections.ObjectModel;


namespace Microsoft.DDSolutions.SqlReportServer.Interfaces
{
    public interface IReportService
    {
        void AddUser(string userName, string nodeName, string roleName);
        ReadOnlyCollection<string> GetUserRoles(string userName, string nodeName);
        bool IsProjectSite
        {
            get;
            set;
        }
        bool IsRoleExist(string roleName);
        void RemoveUser(string userName, string nodeName);
        void RemoveUserFromRole(string userName, string nodeName, string roleName);
        ReadOnlyCollection<string> Roles
        {
            get;
        }
    }
}
